<?php
abstract class CategoryActiveRecord extends CActiveRecord{


    public function behaviors()
    {
        return array(
            'CTimestampBehavior' => array(
                'class'=>'zii.behaviors.CTimestampBehavior',
                'createAttribute' => 'create_time',
                'updateAttribute' => 'update_time',
                'setUpdateOnCreate' => true,
            ),
            'URecordBehavior'=>array(
                'class'=>'application.components.URecordBehavior',
                'createUserAttribute'=>'create_user_id',
                'updateUserAttribute'=>'update_user_id',

            )
        );
    }
}